package com.mida.dms.knw.entity;

import java.io.Serializable;
import java.util.Date;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * 值集
 * @author conyfrommars
 *
 */
@Setter
@Getter
@ToString
@ApiModel(description = "值集")
@Data
public class DataSet implements Serializable {
	
	
	@ApiModelProperty(value = "值集ID", required = false)
	@JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long dataSetSoid;

	@ApiModelProperty(value = "值编码", required = false)
    private String dataSetCode;

	@ApiModelProperty(value = "值含义中文", required = false)
    private String dataSetMeaning;
	
	@ApiModelProperty(value = "概念soid", required = false)
	@JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
	private Long conceptSoid;

	@ApiModelProperty(value = "概念描述", required = false)
    private String conceptDescription;

	@ApiModelProperty(value = "编码体系soid", required = false)
	@JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long derailCodingSystemSoid;

	@ApiModelProperty(value = "拼音码", required = false)
    private String pyCode;

	@ApiModelProperty(value = "拼音码", required = false)
    private String wbCode;
	
	@ApiModelProperty(value = "描述", required = false)
    private String dataSetDescription;

	@ApiModelProperty(value = "上级值集soid", required = false)
	@JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long superDataSetSoid;
	
	@ApiModelProperty(value = "上级值集含义", required = false)
	private String superDataSetMeaning;

	@ApiModelProperty(value = "状态", required = false)
	@JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    protected Long status;

	@ApiModelProperty(value = "删除标志位，默认0", required = false)
	@JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    protected Long isDelete=0L;

    @ApiModelProperty(value = "创建日期时间", dataType = "java.util.Date",required = false,example = "2021-01-26")
    protected Date createDate; 
    
	@ApiModelProperty(value = "最后更新日期时间", dataType = "java.util.Date",required = false,example = "2021-01-26")
    protected Date updateDate;

	@ApiModelProperty(value = "最后修改人", required = false)
	@JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    protected Long updateUser;

	@ApiModelProperty(value = "值含义英文", required = false)
	private String dataSetEnMeaning;

    private static final long serialVersionUID = 1L;

}